return {
  "NvChad/nvterm",
  config = function ()
    local Terminal = require("nvterm.terminal")
    function _TERM_TOGGLE()
      Terminal.toggle "horizontal"
    end

    require("nvterm").setup({
      terminals = {
        shell = vim.o.shell,
        list = {},
        type_opts = {
          float = {
            relative = 'editor',
            row = 0.3,
            col = 0.25,
            width = 0.5,
            height = 0.4,
            border = "single",
          },
          horizontal = { location = "rightbelow", split_ratio = .4, },
          vertical = { location = "rightbelow", split_ratio = .5 },
        }
      },
      behavior = {
        autoclose_on_quit = {
          enabled = false,
          confirm = true,
        },
        close_on_exit = false,
        auto_insert = true,
      },
    })
  end,
}
